﻿<Page x:Class="Stankovita.Program.Pages.ConnectMode"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:local="clr-namespace:Stankovita.Program.Pages"
      mc:Ignorable="d" 
      d:DesignHeight="650" d:DesignWidth="800"
      Title="ConnectMode">

    <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="200"/>
            <RowDefinition Height="40"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <TextBlock Text="Войти в аккаунт как:"
                   Grid.Row="1"
                   FontSize="35"
                   FontFamily="Calibri"
                   HorizontalAlignment="Center"
                   VerticalAlignment="Bottom"/>

        <WrapPanel Orientation="Horizontal"
                   Grid.Row="2"
                   Margin="0 10 0 0"
                   Width="450"
                   VerticalAlignment="Top"
                   HorizontalAlignment="Center">

            <Button Name="UserCustomerBtn"
                    Content="Заказчик"
                    FontFamily="Calibri"
                    FontSize="35"
                    Width="150"
                    Margin="0 0 30 0"
                    Background="Azure" 
                    Click="UserCustomerBtn_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" Value="5"/>
                    </Style>
                </Button.Resources>
            </Button>

            <Button Name="UserAdminBtn"
                    Content="Админ"
                    FontFamily="Calibri"
                    FontSize="35"
                    Width="120"
                    Margin="0 0 30 0"
                    Background="BlanchedAlmond"
                    Click="UserAdminBtn_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" Value="5"/>
                    </Style>
                </Button.Resources>
            </Button>

            <Button Name="UserGuestBtn"
                    Content="Гость"
                    FontFamily="Calibri"
                    FontSize="40"
                    Width="100"
                    Foreground="White"
                    Background="Black"
                    Click="UserGuestBtn_Click">
                <Button.Resources>
                    <Style TargetType="Border">
                        <Setter Property="CornerRadius" Value="5"/>
                    </Style>
                </Button.Resources>
            </Button>

        </WrapPanel>
    </Grid>
</Page>
